﻿using System;
using System.Data;
using System.Collections;

/// <summary>
/// Summary description for TAApplicantSearch
/// </summary>
/// 
namespace CE.TravelInsurance
{
    public class TAApplicantSearch
    {
        public TAApplicantSearch()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        private Int64 _taappseaid;
        private string _name;
        private string _emailaddress;
        private string _mobilenum;
        private string _plantype;
        private string _triptype;
        private Int64 _countryid;
        private Int64 _areaid;
        private string _coveragelevel;
        private Int32 _duration;
        private DateTime _startdate;
        private DateTime _enddate;
        private Int32 _childage;
        private Int32 _adultage;
        private Int32 _nooftravellers;
        private float _totalpremium;
        private Int32 _noofadults;
        private DateTime _dobadult1;
        private DateTime _dobadult2;
        private DateTime _dobadult3;
        private DateTime _dobadult4;
        private Int32 _noofchilds;
        private DateTime _dobchild1;
        private DateTime _dobchild2;
        private DateTime _dobchild3;
        private DateTime _dobchild4;
        private DateTime _dobchild5;
        private DateTime _dobchild6;
        private Int64 _refceuserid;
        private Int64 _vieweddetailid;
        private string _info1;
        private string _info2;
        //private string _info3;
        //private string _info4;
        //private string _info5;
        //private string _info6;
        //private string _info7;
        //private string _info8;
        //private string _info9;
        //private string _info10;
        //private string _info11;
        //private string _info12;
        private Int64 _ninfo1; //TAinsID
        private Int64 _ninfo2; //ProviderCompanyID
        private Int64 _ninfo3; //PromoProviderCompanyID



        public Int64 TAAppSeaId
        {
            get { return _taappseaid; }
            set { _taappseaid = value; }
        }


        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string EmailAddress
        {
            get { return _emailaddress; }
            set { _emailaddress = value; }
        }

        public string MobileNum
        {
            get { return _mobilenum; }
            set { _mobilenum = value; }
        }

        public string PlanType
        {
            get { return _plantype; }
            set { _plantype = value; }
        }

        public string TripType
        {
            get { return _triptype; }
            set { _triptype = value; }
        }

        public Int64 CountryID
        {
            get { return _countryid; }
            set { _countryid = value; }
        }

        public Int64 AreaID
        {
            get { return _areaid; }
            set { _areaid = value; }
        }

        public string CoverageLevel
        {
            get { return _coveragelevel; }
            set { _coveragelevel = value; }
        }


        public Int32 Duration
        {
            get { return _duration; }
            set { _duration = value; }
        }

        public DateTime StartDate
        {
            get { return _startdate; }
            set { _startdate = value; }
        }

        public DateTime EndDate
        {
            get { return _enddate; }
            set { _enddate = value; }
        }


        public Int32 ChildAge
        {
            get { return _childage; }
            set { _childage = value; }
        }

        public Int32 AdultAge
        {
            get { return _adultage; }
            set { _adultage = value; }
        }

        public Int32 NoOfTravellers
        {
            get { return _nooftravellers; }
            set { _nooftravellers = value; }
        }

        public float TotalPremium
        {
            get { return _totalpremium; }
            set { _totalpremium = value; }
        }

        public Int32 NoofAdults
        {
            get { return _noofadults; }
            set { _noofadults = value; }
        }

        public DateTime DOBAdult1
        {
            get { return _dobadult1; }
            set { _dobadult1 = value; }
        }

        public DateTime DOBAdult2
        {
            get { return _dobadult2; }
            set { _dobadult2 = value; }
        }

        public DateTime DOBAdult3
        {
            get { return _dobadult3; }
            set { _dobadult3 = value; }
        }

        public DateTime DOBAdult4
        {
            get { return _dobadult4; }
            set { _dobadult4 = value; }
        }

        public Int32 NoofChilds
        {
            get { return _noofchilds; }
            set { _noofchilds = value; }
        }

        public DateTime DOBChild1
        {
            get { return _dobchild1; }
            set { _dobchild1 = value; }
        }

        public DateTime DOBChild2
        {
            get { return _dobchild2; }
            set { _dobchild2 = value; }
        }

        public DateTime DOBChild3
        {
            get { return _dobchild3; }
            set { _dobchild3 = value; }
        }

        public DateTime DOBChild4
        {
            get { return _dobchild4; }
            set { _dobchild4 = value; }
        }

        public DateTime DOBChild5
        {
            get { return _dobchild5; }
            set { _dobchild5 = value; }
        }

        public DateTime DOBChild6
        {
            get { return _dobchild6; }
            set { _dobchild6 = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public Int64 ViewedDetailId
        {
            get { return _vieweddetailid; }
            set { _vieweddetailid = value; }
        }

        public string Info1
        {
            get { return _info1; }
            set { _info1 = value; }
        }

       
        public string Info2
        {
            get { return _info2; }
            set { _info2 = value; }
        }

        /* public string Info3
        {
            get { return _info3; }
            set { _info3 = value; }
        }

        public string Info4
        {
            get { return _info4; }
            set { _info4 = value; }
        }

        public string Info5
        {
            get { return _info5; }
            set { _info5 = value; }
        }

        public string Info6
        {
            get { return _info6; }
            set { _info6 = value; }
        }

        public string Info7
        {
            get { return _info7; }
            set { _info7 = value; }
        }

        public string Info8
        {
            get { return _info8; }
            set { _info8 = value; }
        }

        public string Info9
        {
            get { return _info9; }
            set { _info9 = value; }
        }

        public string Info10
        {
            get { return _info10; }
            set { _info10 = value; }
        }

        public string Info11
        {
            get { return _info11; }
            set { _info11 = value; }
        }

        public string Info12
        {
            get { return _info12; }
            set { _info12 = value; }
        }
        */

        public Int64 Ninfo1
        {
            get { return _ninfo1; }
            set { _ninfo1 = value; }
        }

        public Int64 Ninfo2
        {
            get { return _ninfo2; }
            set { _ninfo2 = value; }
        }

        public Int64 Ninfo3
        {
            get { return _ninfo3; }
            set { _ninfo3 = value; }
        }


        public void ClearFields()
        {
             _taappseaid = 0;
             _name = "";
             _emailaddress = "";
             _mobilenum = "";
             _plantype = "";
             _triptype = "";
             _countryid = 0;
             _areaid = 0;
             _coveragelevel = "";
             _duration = 0;
             _enddate = DateTime.Parse("1/1/1900");
             _startdate = DateTime.Parse("1/1/1900");
             _childage = 0;
            _adultage = 0;
            _nooftravellers = 0;
            _totalpremium = 0;
            _noofadults = 0;
            _dobadult1 = DateTime.Parse("1/1/1900");
            _dobadult2 = DateTime.Parse("1/1/1900");
            _dobadult3 = DateTime.Parse("1/1/1900");
            _dobadult4 = DateTime.Parse("1/1/1900");
            _noofchilds = 0;
            _dobchild1 = DateTime.Parse("1/1/1900");
            _dobchild2 = DateTime.Parse("1/1/1900");
            _dobchild3 = DateTime.Parse("1/1/1900");
            _dobchild4 = DateTime.Parse("1/1/1900");
            _dobchild5 = DateTime.Parse("1/1/1900");
            _dobchild6 = DateTime.Parse("1/1/1900");
            _refceuserid = 0;
            _vieweddetailid = 0;
            _info1 = "";
            _info2 = "";
            //_info3 = "";
            //_info4 = "";
            //_info5 = "";
            //_info6 = "";
            //_info7 = "";
            //_info8 = "";
            //_info9 = "";
            //_info10 = "";
            //_info11 = "";
            //_info12 = "";
            _ninfo1 = 0;
            _ninfo2 = 0;
            _ninfo3 = 0;

        }

    }
}
